package ooday02;

public class StudentHomework extends PersonHomework {
    String className;
    String stuId;

    StudentHomework() {
    }

    StudentHomework(String name, int age, String address, String className, String stuId) {
        super(name, age, address);
    }


    void sayhi() {
        System.out.println("大家好我叫" + name + "年龄" + age + "岁了" + "家住在" + address + "班级是" + className + "学号是" + stuId);
    }

    void study() {
        System.out.println(name + "正在学习");
    }


}
